<?php

/**
 * Plug-in Hook
 *
 * @package core
 * @version $Id:$
 */
function smarty_function_hook($params, &$smarty)
{
	if (!isset($params['name']))
	{
		return;
	}	
	$sName = $params['name'];
	unset($params['name']);	
	(($sHook = App::getHook($sName)) ? eval($sHook) : false);
}

?>